
#ifndef __ConectorCnx_h__
#define __ConectorCnx_h__

#include <netinet/in.h>
#include "Conexion.h"

class ConectorCnx
{
  public:
	Conexion* connect(const char* server, int port);
    
  private:
    int resolveHostName(const char* host, struct in_addr* addr);
};

#endif
